<?php

namespace App\Library\Requests\ProductAlbum;

use App\Library\Requests\Base\BaseDTORequest;
use App\Library\Rules\MediasImgRule;

class ProductAlbumEditRequest extends ProductAlbumAddRequest
{
    public function rules(): array
    {
        return array_merge(
            parent::rules(), [
                $this->No => 'required|string|size:20|regex:' . __('com.numReg'),
            ]
        );
    }
}
